package nix.struts.param;

import java.util.List;
import java.util.Map;

import com.opensymphony.xwork2.ActionSupport;

public class Demo4Action extends ActionSupport {
	// 集合类型（属性）参数封装
	private List<String> list;
	
	private Map<String, String> map;

	@Override
	public String execute() throws Exception {

		System.out.println("list: " + list);
		System.out.println("map: " + map);
		return SUCCESS;
	}

	public List<String> getList() {
		return list;
	}

	public void setList(List<String> list) {
		this.list = list;
	}

	public Map<String, String> getMap() {
		return map;
	}

	public void setMap(Map<String, String> map) {
		this.map = map;
	}
}
